package com.hsnn.medstgmini.base.std.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @author 言科
 * @category	企业产品库维护记录实体类
 * @date  2015年8月17日
 */
@Entity
@Table(name="std_proddruginfo_log")
public class StdProdDrugInfoLog implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private String logId;						//日志id
	private String prodId;						//产品ID
	private String qualityspecId;				//品规ID
	private String busName;						//商品名	
	private Integer factor;						//转换系数，没有填1
	private String unit;						//包装单位
	private String prodCompId;					//生产企业ID
	private String materialId;					//材质ID	
	private String approvalCode;				//批准文号
	private Date approvalDate;					//批准日期
	private Integer status;						//标准状态。1.有效；2.作废；3.合并
	private Date updDatetime;					//更新时间
	private String updUser;						//更新人
	private String historyDrugCode;				//历史药品编码
	private Integer mergeStatus;				//合并处理状态,0未处理1已处理

	
	@Id
    @Column(name="log_id", length=36)
	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	@Column(name="prod_id", length=36)
	public String getProdId() {
		return prodId;
	}

	public void setProdId(String prodId) {
		this.prodId = prodId;
	}

	@Column(name="qualityspec_id", length=36)
	public String getQualityspecId() {
		return qualityspecId;
	}

	public void setQualityspecId(String qualityspecId) {
		this.qualityspecId = qualityspecId;
	}

	@Column(name="bus_name", length=256)
	public String getBusName() {
		return busName;
	}

	public void setBusName(String busName) {
		this.busName = busName;
	}

	@Column(name="factor", length=11)
	public Integer getFactor() {
		return factor;
	}

	public void setFactor(Integer factor) {
		this.factor = factor;
	}

	@Column(name="unit", length=36)
	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	@Column(name="prod_comp_id", length=36)
	public String getProdCompId() {
		return prodCompId;
	}

	public void setProdCompId(String prodCompId) {
		this.prodCompId = prodCompId;
	}

	@Column(name="material_id", length=36)
	public String getMaterialId() {
		return materialId;
	}

	public void setMaterialId(String materialId) {
		this.materialId = materialId;
	}

	@Column(name="approval_code", length=100)
	public String getApprovalCode() {
		return approvalCode;
	}

	public void setApprovalCode(String approvalCode) {
		this.approvalCode = approvalCode;
	}

	@Column(name="approval_date")
	public Date getApprovalDate() {
		return approvalDate;
	}

	public void setApprovalDate(Date approvalDate) {
		this.approvalDate = approvalDate;
	}

	@Column(name="status", length=4)
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name="upd_datetime")
	public Date getUpdDatetime() {
		return updDatetime;
	}

	public void setUpdDatetime(Date updDatetime) {
		this.updDatetime = updDatetime;
	}

	@Column(name="upd_user", length=36)
	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

	@Column(name="history_drug_code", length=100)
	public String getHistoryDrugCode() {
		return historyDrugCode;
	}

	public void setHistoryDrugCode(String historyDrugCode) {
		this.historyDrugCode = historyDrugCode;
	}

	@Column(name="merge_status", length=4)
	public Integer getMergeStatus() {
		return mergeStatus;
	}

	public void setMergeStatus(Integer mergeStatus) {
		this.mergeStatus = mergeStatus;
	}
	
	
	
	
	
	

}
